package com.situ.ymall.admin.service;

import com.situ.ymall.admin.entity.Root;

public interface RootService {
	
	/*
	 * 登录操作
	 */
	Root login(Root root) throws Exception;

	/*
	 * 根据用户名来查询用户
	 * 
	 */
	Root getByRootName(String rootName);

    Root selectById(Integer id);

    Root edit(Root root) throws Exception;
}
